package com.jt.www.dao.mapper.market;

import com.jt.www.dao.BaseMapper;
import com.jt.www.domain.po.InsidePerformance;
import com.jt.www.domain.qo.InsidePerformanceQO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 内部人员业绩
 * Created by shaoyn on 2020/05/25.
 */
public interface InsidePerformanceMapper extends BaseMapper<InsidePerformance> {

    /**
     * 查询列表总数
     *
     * @param insidePerformanceQO
     * @return
     */
    Long selectInsidePerformanceListCount(@Param("insidePerformanceQO") InsidePerformanceQO insidePerformanceQO);

    /**
     * 查询列表
     *
     * @param insidePerformanceQO
     * @return
     */
    List<InsidePerformance> selectInsidePerformanceList(@Param("insidePerformanceQO") InsidePerformanceQO insidePerformanceQO);

    /**
     * 通过条件更新标记发送状态
     *
     * @param insidePerformanceQO
     * @return
     */
    int updateSendStatus(@Param("insidePerformanceQO") InsidePerformanceQO insidePerformanceQO, @Param("sendStatus") String sendStatus);
}
